package com.itqf.Service.Answer;
/**
 * 大帅 2019/10/14 21:21
 */
import com.github.pagehelper.PageInfo;
import com.itqf.entity.Answer;

import java.util.List;
import java.util.Map;

/**
 * 大帅 2019/10/14 20:35
 */
public interface AnswerService {
    //分页
    public PageInfo<Answer> findall(int pageindex, int pagesize,
                                    int requsetionid);


//    回答的上传  通过用户的id 传问题
    int insertAnserer(String originalFilename, String userid,String answerTitle,int requestionId);

    //根据用户的提问id和问题的id删除问题
    int deleteByid(int ansrequestionId, int requestionId,String userid);


    //修改问题
    int updateAnserer(String originalFilename, String userid, String answerTitle,int ansrequestionId);
}
